//
//  CommissionRecordTableViewController.m
//  bitcoin
//
//  Created by caiyajun on 2018/6/12.
//  Copyright © 2018年 比特币. All rights reserved.
//

#import "CommissionRecordTableViewController.h"
#import "CommissionRecordCell.h"
@interface CommissionRecordTableViewController ()

@end

@implementation CommissionRecordTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - Table view data source

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
    
    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    
    return 3;
}

-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    return 96;
}
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    CommissionRecordCell *cell = [tableView dequeueReusableCellWithIdentifier:@"CommissionRecordCell" forIndexPath:indexPath];
    if (cell == nil) {
        cell = [[CommissionRecordCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"CommissionRecordCell"];
    }
    return cell;
}
@end

